<?php

	/**
	 * @see Bike_Form_Renderer_ExtJs_Field_Validate_Abstract
	 */
	require_once 'Bike/Form/Renderer/ExtJs/Field/Validate/Abstract.php';
	
	
	class Bike_Form_Renderer_ExtJs_Field_Validate_LatinAlnum extends Bike_Form_Renderer_ExtJs_Field_Validate_Abstract
	{		public function getSettings()
		{			$js = $this->getJs();
			$settings = array(
				'regex' => $js->Expr($this->getValidator()->getPattern()),
				'regexText' => $this->translate('Value contains characters which are non latin alphabetic and no digits'),
			);
			return $settings;
		}
	}
